/*
 * @Author: wuqingchun
 * @Date: 2024-10-22 19:39:40
 * @Description: 
 * @LastEditors: wuqingchun
 * @LastEditTime: 2024-10-22 20:13:36
 */
#ifndef __NET_CHANNEL_H__
#define __NET_CHANNEL_H__

#include <cstdint>

class INetChannel
{
public:
    virtual ~INetChannel()
    {

    }

    virtual int GetFd() = 0;

    virtual int32_t DealRDEvent() = 0;
    virtual int32_t DealWREvent() = 0;
    virtual int32_t DealERREvent() = 0;
};

#endif //__NET_CHANNEL_H__